package com.education.basic.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.yunshangwoniu.core.AbstractEntity;


/**
 * 
 * @author 云上蜗牛
 *
 */
@Entity
@Table(name="Administrator")
public class Administrator extends AbstractEntity
{
	private static final long serialVersionUID = 1L;

	
	private String username;		//用户名
	private String password;		//密码
	
	private String name;			//姓名
	private String gender;			//性别
	private String telphone;		//电话
	private String email;			//邮箱
	private String address;			//家庭地址
	private String headUrl;			//头像链接
	private int level;				//管理员等级 1-超级管理员，2-院系领导，3-普通教职工，4-临时授权
	private String note;			//备注
	

	public String getUsername()
	{
		return username;
	}
	public void setUsername(String username)
	{
		this.username = username;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String password)
	{
		this.password = password;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getGender()
	{
		return gender;
	}
	public void setGender(String gender)
	{
		this.gender = gender;
	}
	public String getTelphone()
	{
		return telphone;
	}
	public void setTelphone(String telphone)
	{
		this.telphone = telphone;
	}
	public String getEmail()
	{
		return email;
	}
	public void setEmail(String email)
	{
		this.email = email;
	}
	public String getAddress()
	{
		return address;
	}
	public void setAddress(String address)
	{
		this.address = address;
	}
	public String getHeadUrl()
	{
		return headUrl;
	}
	public void setHeadUrl(String headUrl)
	{
		this.headUrl = headUrl;
	}
	public int getLevel()
	{
		return level;
	}
	public void setLevel(int level)
	{
		this.level = level;
	}
	public String getNote()
	{
		return note;
	}
	public void setNote(String note)
	{
		this.note = note;
	}
	
}
